package com.cleaningcloud.cld.domain;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 排休日历对象 cld_restbreaks_calendar
 *
 * @author cleaningcloud
 * @date 2024-11-08
 */
public class CldRestbreaksCalendar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排休明细ID */
    private Long restbreakCalendarId;

    /** 排休ID */
    @Excel(name = "排休ID")
    private Long restbreakId;

    /** 年份 */
    @Excel(name = "年份")
    private Long restbreakCalendarYear;

    /** 月份 */
    @Excel(name = "月份")
    private Long restbreakCalendarMonth;

    /** 周 */
    @Excel(name = "周")
    private String restbreakCalendarWeek;

    /** 天 */
    @Excel(name = "天")
    private Long restbreakCalendarDay;

    /** 是否节假日(0否1是) */
    @Excel(name = "是否节假日(0否1是)")
    private Long isHoliday;

    public void setRestbreakCalendarId(Long restbreakCalendarId)
    {
        this.restbreakCalendarId = restbreakCalendarId;
    }

    public Long getRestbreakCalendarId()
    {
        return restbreakCalendarId;
    }
    public void setRestbreakId(Long restbreakId)
    {
        this.restbreakId = restbreakId;
    }

    public Long getRestbreakId()
    {
        return restbreakId;
    }
    public void setRestbreakCalendarYear(Long restbreakCalendarYear)
    {
        this.restbreakCalendarYear = restbreakCalendarYear;
    }

    public Long getRestbreakCalendarYear()
    {
        return restbreakCalendarYear;
    }
    public void setRestbreakCalendarMonth(Long restbreakCalendarMonth)
    {
        this.restbreakCalendarMonth = restbreakCalendarMonth;
    }

    public Long getRestbreakCalendarMonth()
    {
        return restbreakCalendarMonth;
    }
    public void setRestbreakCalendarWeek(String restbreakCalendarWeek)
    {
        this.restbreakCalendarWeek = restbreakCalendarWeek;
    }

    public String getRestbreakCalendarWeek()
    {
        return restbreakCalendarWeek;
    }
    public void setRestbreakCalendarDay(Long restbreakCalendarDay)
    {
        this.restbreakCalendarDay = restbreakCalendarDay;
    }

    public Long getRestbreakCalendarDay()
    {
        return restbreakCalendarDay;
    }
    public void setIsHoliday(Long isHoliday)
    {
        this.isHoliday = isHoliday;
    }

    public Long getIsHoliday()
    {
        return isHoliday;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("restbreakCalendarId", getRestbreakCalendarId())
                .append("restbreakId", getRestbreakId())
                .append("restbreakCalendarYear", getRestbreakCalendarYear())
                .append("restbreakCalendarMonth", getRestbreakCalendarMonth())
                .append("restbreakCalendarWeek", getRestbreakCalendarWeek())
                .append("restbreakCalendarDay", getRestbreakCalendarDay())
                .append("isHoliday", getIsHoliday())
                .toString();
    }
}
